//
//  RecommendCell.m
//  沙哈拉FM
//
//  Created by dllo on 15/11/3.
//  Copyright © 2015年 S1mpl3. All rights reserved.
//

#import "RecommendCell.h"
#import "UIImageView+WebCache.h"
@implementation RecommendCell

-(void)layoutSubviews
{
    [super layoutSubviews
     ];
    self.imageView.frame = CGRectMake(10, 0, self.frame.size.width - 20, 90);
    self.label.frame = CGRectMake(self.imageView.frame.origin.x, self.imageView.frame.origin.y + self.imageView.frame.size.height + 5, self.imageView.frame.size.width, 20);
    
    self.imageView.layer.borderWidth = 1.0;

    
    
    
    
    
}
-(void)setModel:(ZBRecommandRadioListModel *)model
{
    [self.imageView sd_setImageWithURL:[NSURL URLWithString:model.picPath]];
    self.label.text = model.rname;

  


}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
